package com.cust.cow.service;

import com.cust.cow.common.CowMatingLog;
import com.cust.cow.common.Result;
import com.cust.cow.pojo.cowCattle;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CowCattleService {

    public List<cowCattle> findCowCattleAll();

    public Result insertCowCattle(cowCattle cowCattle);

    public Result deleteCowCattle(Integer cattleId);

    public CowMatingLog findCowCattleById(Integer cattleId);

    public List<CowMatingLog> findCowCattleMatingLogAll();

    public Result updateCowCattleProductionStatus(cowCattle cowCattle);

}
